<?php

/**
 * @desc Application frontend. 
 *
 */
class Kernel_Application_Frontend extends Kernel_Application_Abstract 
{

    /**
     * @desc Define frontend controller. 
     *
     * @return  Kernel_Controller_Tokened
     */
    public function html() 
    {
        return new Kernel_Filter_FrontController_Clear();
    }

    /**
     * @desc Define service frontend controller. 
     *
     * @param   array   $params
     * @return  Kernel_Controller_Service_Abstract
     */
    public function service($params) 
    {
        return new Kernel_Controller_Service_Frontend($params);
    }
    
}
